import 'package:json_annotation/json_annotation.dart';

part 'file.g.dart';

@JsonSerializable()
class File {
  File();

  late String bucketName;
  late String createTime;
  late String fileName;
  late num fileSize;
  late num id;
  String? updateTime;
  late String url;
  late num userId;
  
  factory File.fromJson(Map<String,dynamic> json) => _$FileFromJson(json);
  Map<String, dynamic> toJson() => _$FileToJson(this);
}
